package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "商品实体")
public class Goods {
  @ApiModelProperty(name = "goods_Id",notes = "主键,商品编号",dataType = "String",required = true)
  private String goods_Id;
  @ApiModelProperty(name = "goods_Name",notes = "商品名称",dataType = "String",required = true)
  private String goods_Name;
  @ApiModelProperty(name = "goods_Code",notes = "商品条码",dataType = "String",required = false)
  private String goods_Code;
  @ApiModelProperty(name = "goods_Style",notes = "规格型号",dataType = "String",required = false)
  private String goods_Style;
  @ApiModelProperty(name = "goods_Pic",notes = "商品图片",dataType = "String",required = false)
  private String goods_Pic;
  @ApiModelProperty(name = "goods_Type_Id",notes = "外键，商品类别",dataType = "int",required = true)
  private long goods_Type_Id;
  @ApiModelProperty(name = "firs_Warehouse_Id",notes = "外键，首选仓库",dataType = "int",required = false)
  private long firs_Warehouse_Id;
  @ApiModelProperty(name = "unit_Id",notes = "外键，计量单位",dataType = "int",required = true)
  private long unit_Id;
  @ApiModelProperty(name = "retail_Price",notes = "零售价",dataType = "double",required = false)
  private double retail_Price;
  @ApiModelProperty(name = "trade_Price",notes = "批发价",dataType = "double",required = false)
  private double trade_Price;
  @ApiModelProperty(name = "vip_Price",notes = "会员价",dataType = "double",required = false)
  private double vip_Price;
  @ApiModelProperty(name = "discount_Rate1",notes = "折扣率(1)%",dataType = "int",required = false)
  private long discount_Rate1;
  @ApiModelProperty(name = "discount_Rate2",notes = "折扣率(2)%",dataType = "int",required = false)
  private long discount_Rate2;
  @ApiModelProperty(name = "purchase_Price",notes = "预计采购价",dataType = "double",required = false)
  private double purchase_Price;
  @ApiModelProperty(name = "status",notes = "状态",dataType = "String",required = false)
  private String status;
  @ApiModelProperty(name = "comm",notes = "备注",dataType = "String",required = false)
  private String comm;

  @ApiModelProperty(name = "inventory",notes = "库存量",dataType = "String",required = false)
  private Integer inventory;

  //商品类别
  private Goods_Type goods_type;
  //商品首选仓库
  private Warehouse warehouse;
  //商品计量单位
  private Nuit_Type nuit_type;
  //库存预警
  private List<Warehouse_Warning> warehouseWarningList;
  //仓库期初设置
  private List<Goods_Warehouse> goodsWarehouseList;


  public Integer getInventory() {
    return inventory;
  }

  public void setInventory(Integer inventory) {
    this.inventory = inventory;
  }

  public List<Warehouse_Warning> getWarehouseWarningList() {
    return warehouseWarningList;
  }

  public void setWarehouseWarningList(List<Warehouse_Warning> warehouseWarningList) {
    this.warehouseWarningList = warehouseWarningList;
  }

  public List<Goods_Warehouse> getGoodsWarehouseList() {
    return goodsWarehouseList;
  }

  public void setGoodsWarehouseList(List<Goods_Warehouse> goodsWarehouseList) {
    this.goodsWarehouseList = goodsWarehouseList;
  }

  public Goods_Type getGoods_type() {
    return goods_type;
  }

  public void setGoods_type(Goods_Type goods_type) {
    this.goods_type = goods_type;
  }

  public Warehouse getWarehouse() {
    return warehouse;
  }

  public void setWarehouse(Warehouse warehouse) {
    this.warehouse = warehouse;
  }

  public Nuit_Type getNuit_type() {
    return nuit_type;
  }

  public void setNuit_type(Nuit_Type nuit_type) {
    this.nuit_type = nuit_type;
  }

  public String getGoods_Id() {
    return goods_Id;
  }

  public void setGoods_Id(String goods_Id) {
    this.goods_Id = goods_Id;
  }


  public String getGoods_Name() {
    return goods_Name;
  }

  public void setGoods_Name(String goods_Name) {
    this.goods_Name = goods_Name;
  }


  public String getGoods_Code() {
    return goods_Code;
  }

  public void setGoods_Code(String goods_Code) {
    this.goods_Code = goods_Code;
  }


  public String getGoods_Style() {
    return goods_Style;
  }

  public void setGoods_Style(String goods_Style) {
    this.goods_Style = goods_Style;
  }


  public String getGoods_Pic() {
    return goods_Pic;
  }

  public void setGoods_Pic(String goods_Pic) {
    this.goods_Pic = goods_Pic;
  }


  public long getGoods_Type_Id() {
    return goods_Type_Id;
  }

  public void setGoods_Type_Id(long goods_Type_Id) {
    this.goods_Type_Id = goods_Type_Id;
  }


  public long getFirs_Warehouse_Id() {
    return firs_Warehouse_Id;
  }

  public void setFirs_Warehouse_Id(long firs_Warehouse_Id) {
    this.firs_Warehouse_Id = firs_Warehouse_Id;
  }


  public long getUnit_Id() {
    return unit_Id;
  }

  public void setUnit_Id(long unit_Id) {
    this.unit_Id = unit_Id;
  }


  public double getRetail_Price() {
    return retail_Price;
  }

  public void setRetail_Price(double retail_Price) {
    this.retail_Price = retail_Price;
  }


  public double getTrade_Price() {
    return trade_Price;
  }

  public void setTrade_Price(double trade_Price) {
    this.trade_Price = trade_Price;
  }


  public double getVip_Price() {
    return vip_Price;
  }

  public void setVip_Price(double vip_Price) {
    this.vip_Price = vip_Price;
  }


  public long getDiscount_Rate1() {
    return discount_Rate1;
  }

  public void setDiscount_Rate1(long discount_Rate1) {
    this.discount_Rate1 = discount_Rate1;
  }


  public long getDiscount_Rate2() {
    return discount_Rate2;
  }

  public void setDiscount_Rate2(long discount_Rate2) {
    this.discount_Rate2 = discount_Rate2;
  }


  public double getPurchase_Price() {
    return purchase_Price;
  }

  public void setPurchase_Price(double purchase_Price) {
    this.purchase_Price = purchase_Price;
  }


  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }


  public String getComm() {
    return comm;
  }

  public void setComm(String comm) {
    this.comm = comm;
  }

}
